import { Controller, Get, Query } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) { }

  @Get()
  getHello(@Query('lang') lang: string, @Query('name') name: string) {
    return this.appService.getHello(lang,);
  }
}
